home *** CD-ROM | disk | FTP | other *** search
/ 9-Digit Zip Code Directory / 9-Digit Zip Code Directory (American Business Information) (ABIZIP-12).ISO / z4src.zip / STRESS.H < prev    next >
C/C++ Source or Header  |  1993-11-23  |  2KB  |  57 lines

  1. /*****************************************************************************\
  2. *                                                                             *
  3. * stress.h -    Stress functions definitions                                  *
  4. *                                                                             *
  5. *               Version 1.0                                                   *
  6. *                                                                             *
  7. *               Copyright (c) 1992, Microsoft Corp. All rights reserved.      *
  8. *                                                                             *
  9. *******************************************************************************/
  10.  
  11. #ifndef _INC_STRESS
  12. #define _INC_STRESS
  13.  
  14. #ifndef RC_INVOKED
  15. #pragma pack(1)         /* Assume byte packing throughout */
  16. #endif  /* RC_INVOKED */
  17.  
  18. #ifdef __cplusplus
  19. extern "C" {            /* Assume C declarations for C++ */
  20. #endif    /* __cplusplus */
  21.  
  22. /****** Simple types & common helper macros *********************************/
  23.  
  24. #ifndef _INC_WINDOWS    /* If included with 3.0 headers... */
  25. #define UINT        WORD
  26. #define WINAPI      FAR PASCAL
  27. #endif  /* _INC_WINDOWS */
  28.  
  29. /* stuff for AllocDiskSpace() */
  30. #define  EDS_WIN     1
  31. #define  EDS_CUR     2
  32. #define  EDS_TEMP    3
  33.  
  34.  
  35. /* function prototypes */
  36. BOOL    WINAPI AllocMem(DWORD);
  37. void    WINAPI FreeAllMem(void);
  38. int     WINAPI AllocFileHandles(int);
  39. void    WINAPI UnAllocFileHandles(void);
  40. int     WINAPI GetFreeFileHandles(void);
  41. int     WINAPI AllocDiskSpace(long,UINT);
  42. void    WINAPI UnAllocDiskSpace(UINT);
  43. BOOL    WINAPI AllocUserMem(UINT);
  44. void    WINAPI FreeAllUserMem(void);
  45. BOOL    WINAPI AllocGDIMem(UINT);
  46. void    WINAPI FreeAllGDIMem(void);
  47.  
  48. #ifdef __cplusplus
  49. }
  50. #endif    /* __cplusplus */
  51.  
  52. #ifndef RC_INVOKED
  53. #pragma pack()
  54. #endif  /* RC_INVOKED */
  55.  
  56. #endif  /* _INC_STRESS */
  57.